package cn.lystudio.rohm_time_op.service;

import cn.lystudio.rohm_time_op.entity.dto.MachineDTO;
import cn.lystudio.rohm_time_op.entity.po.MachinePO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MachineService {
    List<MachineDTO> getAll(String machineNo);
    int uptMachineEnabled(Integer machineID,Boolean enabled);
    int delMachine(Integer machineID);
    int addMachine(MachinePO machine);
    int uptMachine(MachinePO machine);

    List<MachinePO> getMachineListBySecDeptID(Integer secDeptID);
    MachinePO getMachineByMachineNo(String machineNo);
    MachinePO get1ByMachineNo_Usable(String machineNo);
    MachinePO getMachine4SSD1BT(String machineNo);
    MachinePO getMachine4SSD1ZL(String machineNo);
    MachinePO getMachine4SSD1CD(String machineNo);
    List<MachinePO> getUSMZuLiMachineList();
    List<MachinePO> getUSMBtMachineList();
}
